package com.mengdie.shuidi.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by apple on 16/10/15.
 */

public class LineEntity implements Serializable {


    /**
     * id : 23
     * ip : 180.104.187.61
     * sort : 100
     * load : 50
     * country : 中国
     * province : 广西省
     * city : 喇嘛
     * online : false
     * status : 1
     * name : 山东机房23
     * desc : 超级好用的服务器来袭
     * agreement : OPEN
     * update_time : 1471935813
     * create_time : 1471935813
     */

    private int id;
    private String ip;
    private int sort;
    private int load;
    private String country;
    private String province;
    private String city;
    private String online;
    private int status;
    private String name;
    private String desc;
    private String agreement;
    private int update_time;
    private int create_time;

    @SerializedName("agree_type")
    private String agreeType;

    @SerializedName("new_port")
    private String newPort;
    @SerializedName("proxy_ip")
    private String proxyIp;
    @SerializedName("proxy_port")
    private String proxyPort;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getLoad() {
        return load;
    }

    public void setLoad(int load) {
        this.load = load;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getOnline() {
        return online;
    }

    public void setOnline(String online) {
        this.online = online;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getAgreement() {
        return agreement;
    }

    public void setAgreement(String agreement) {
        this.agreement = agreement;
    }

    public int getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(int update_time) {
        this.update_time = update_time;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public String getAgreeType() {
        return agreeType;
    }

    public void setAgreeType(String agreeType) {
        this.agreeType = agreeType;
    }

    public String getNewPort() {
        return newPort == null ? "" : newPort;
    }

    public void setNewPort(String newPort) {
        this.newPort = newPort;
    }

    public String getProxyIp() {
        return proxyIp == null ? "" : proxyIp;
    }

    public void setProxyIp(String proxyIp) {
        this.proxyIp = proxyIp;
    }

    public String getProxyPort() {
        return proxyPort == null ? "" : proxyPort;
    }

    public void setProxyPort(String proxyPort) {
        this.proxyPort = proxyPort;
    }
}
